Skip to content

chore(deps): update dependency pyenv/pyenv to v2.6.31#35

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/pyenv-pyenv-2.x
Open

chore(deps): update dependency pyenv/pyenv to v2.6.31#35
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/pyenv-pyenv-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 8, 2026

This PR contains the following updates:

Package Update Change
pyenv/pyenv patch v2.6.272.6.31

Release Notes

pyenv/pyenv (pyenv/pyenv)

v2.6.31

Compare Source

v2.6.30

Compare Source

v2.6.29

Compare Source

v2.6.28

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Summary by CodeRabbit

  • Chores
    • Updated pyenv version to 2.6.31 in the Docker build environment.

Review Change Stack

@renovate renovate Bot force-pushed the renovate/pyenv-pyenv-2.x branch 2 times, most recently from 65ab76f to f56801b Compare May 8, 2026 18:42
@renovate renovate Bot changed the title chore(deps): update dependency pyenv/pyenv to v2.6.29 chore(deps): update dependency pyenv/pyenv to v2.6.30 May 8, 2026
@renovate renovate Bot force-pushed the renovate/pyenv-pyenv-2.x branch from f56801b to f1965be Compare May 11, 2026 01:48
@renovate renovate Bot changed the title chore(deps): update dependency pyenv/pyenv to v2.6.30 chore(deps): update dependency pyenv/pyenv to v2.6.31 May 11, 2026
@renovate renovate Bot force-pushed the renovate/pyenv-pyenv-2.x branch from f1965be to 00d9235 Compare May 14, 2026 18:08
@renovate renovate Bot force-pushed the renovate/pyenv-pyenv-2.x branch from 00d9235 to 33c16a3 Compare May 17, 2026 22:21
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 17, 2026

📝 Walkthrough

Walkthrough

The Dockerfile is updated to use pyenv version 2.6.31 instead of the previous v2.6.27 in the Docker build argument. This change affects which pyenv revision is cloned during Docker image construction.

Changes

Pyenv Version Update

Layer / File(s) Summary
Pyenv version bump
Dockerfile
The PYENV_VERSION build argument is updated to 2.6.31 for the Docker image build.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A version bump, so small and neat,
From v2.6.27 to .31 we greet,
Pyenv freshened in the Docker brew,
One little change, but solid and true! 🐳

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and accurately summarizes the main change: updating the pyenv/pyenv dependency from v2.6.27 to v2.6.31, which matches the Dockerfile modification.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch renovate/pyenv-pyenv-2.x

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@Dockerfile`:
- Around line 17-18: The PYENV version token ARG PYENV_VERSION is being set
without the leading "v" (e.g., 2.6.31) but later the repository is cloned with
git clone --branch "${PYENV_VERSION}" which expects tags like v2.6.31; update
the code so the tag matches Renovate output — either remove the extractVersion
from the renovate config so PYENV_VERSION keeps the "v" prefix, or (simpler)
change the clone to use the "v" prefix when checking out (e.g., use git clone
--branch "v${PYENV_VERSION}" or otherwise prepend "v" to PYENV_VERSION before
using it); make the fix where ARG PYENV_VERSION is defined and where git clone
--branch "${PYENV_VERSION}" is called to ensure consistent tag format.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: f0fb076c-a784-4ef4-bad3-ddcda2f5bc5c

📥 Commits

Reviewing files that changed from the base of the PR and between cc2bbf1 and 33c16a3.

📒 Files selected for processing (1)
  • Dockerfile

Comment thread Dockerfile
Comment on lines 17 to +18
# renovate: datasource=github-tags depName=pyenv/pyenv extractVersion=^v(?<version>\d+\.\d+\.\d+)$
ARG PYENV_VERSION=v2.6.27
ARG PYENV_VERSION=2.6.31
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Check pyenv repository tag format to confirm whether tags use 'v' prefix

# Fetch recent tags from pyenv/pyenv repository
echo "=== Recent pyenv tags ==="
gh api repos/pyenv/pyenv/tags --jq '.[0:10] | .[] | .name' 2>/dev/null || \
  curl -s https://api.github.com/repos/pyenv/pyenv/tags | jq -r '.[0:10] | .[] | .name'

# Check if tag v2.6.31 exists
echo -e "\n=== Checking for v2.6.31 tag ==="
gh api repos/pyenv/pyenv/git/ref/tags/v2.6.31 --jq '.ref' 2>/dev/null || \
  curl -s https://api.github.com/repos/pyenv/pyenv/git/ref/tags/v2.6.31 | jq -r '.ref // "Tag not found"'

# Check if tag 2.6.31 (without v) exists
echo -e "\n=== Checking for 2.6.31 tag (without v prefix) ==="
gh api repos/pyenv/pyenv/git/ref/tags/2.6.31 --jq '.ref' 2>/dev/null || \
  curl -s https://api.github.com/repos/pyenv/pyenv/git/ref/tags/2.6.31 | jq -r '.ref // "Tag not found"'

Repository: data219/opencode-docker

Length of output: 425


🏁 Script executed:

sed -n '240,245p' Dockerfile

Repository: data219/opencode-docker

Length of output: 362


Version format mismatch will break the git clone command.

The renovate configuration extracts the version without the 'v' prefix (line 17: extractVersion=^v(?<version>\d+\.\d+\.\d+)$), setting PYENV_VERSION to 2.6.31. However, line 242 uses git clone --branch "${PYENV_VERSION}" which attempts to checkout tag 2.6.31. The pyenv repository uses tags with the 'v' prefix (e.g., v2.6.31), so the git clone will fail with "reference not found."

🔧 Proposed fixes

Option 1 (Recommended): Remove extractVersion from renovate config to preserve the 'v' prefix

-# renovate: datasource=github-tags depName=pyenv/pyenv extractVersion=^v(?<version>\d+\.\d+\.\d+)$
+# renovate: datasource=github-tags depName=pyenv/pyenv
-ARG PYENV_VERSION=2.6.31
+ARG PYENV_VERSION=v2.6.31

Option 2: Prepend 'v' prefix in the git clone command

-RUN git clone --branch "${PYENV_VERSION}" --depth 1 https://github.com/pyenv/pyenv.git /home/opencode/.pyenv \
+RUN git clone --branch "v${PYENV_VERSION}" --depth 1 https://github.com/pyenv/pyenv.git /home/opencode/.pyenv \

As per coding guidelines, prefer version formats in Dockerfile that can be mapped back into download URLs without extra manual edits when Renovate proposes upgrades.

📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
# renovate: datasource=github-tags depName=pyenv/pyenv extractVersion=^v(?<version>\d+\.\d+\.\d+)$
ARG PYENV_VERSION=v2.6.27
ARG PYENV_VERSION=2.6.31
# renovate: datasource=github-tags depName=pyenv/pyenv
ARG PYENV_VERSION=v2.6.31
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@Dockerfile` around lines 17 - 18, The PYENV version token ARG PYENV_VERSION
is being set without the leading "v" (e.g., 2.6.31) but later the repository is
cloned with git clone --branch "${PYENV_VERSION}" which expects tags like
v2.6.31; update the code so the tag matches Renovate output — either remove the
extractVersion from the renovate config so PYENV_VERSION keeps the "v" prefix,
or (simpler) change the clone to use the "v" prefix when checking out (e.g., use
git clone --branch "v${PYENV_VERSION}" or otherwise prepend "v" to PYENV_VERSION
before using it); make the fix where ARG PYENV_VERSION is defined and where git
clone --branch "${PYENV_VERSION}" is called to ensure consistent tag format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants